Nothing much to show other than list these two useful links about this topic:
ES6 Way to Clone an Array
3 Ways to Clone Objects in JavaScript