why does an object needs cloneDeep in javascript code example Example: deep clone object javascript JSON.parse(JSON.stringify(object))