Create cloneObject.js