https://tutorial.eyehunts.com/js/deep-clone-array-javascript-example-code/
Deep clone array JavaScript | Example code