How to Clone a JavaScript Object Correctly | CodeTrail