{"ScriptPreparationCode":"var MyObject = {\r\n description: \u0027a\u0027,\r\n myNumber: 123456789,\r\n myBoolean: true,\r\n profile: {\r\n\tname: \u0027name\u0027,\r\n description: \u0027a\u0027,\r\n myNumber: 123456789,\r\n myBoolean: true,\r\n id: 1,\r\n more : {\r\n some: \u0027text\u0027,\r\n description: \u0027a\u0027,\r\n myNumber: 123456789,\r\n myBoolean: true,\r\n },\r\n },\r\n};\r\n\r\nvar myCopy = null;","TestCases":[{"Name":"Lodash cloneDeep","Code":"myCopy = _.cloneDeep(MyObject); ","IsDeferred":false},{"Name":"Spread operator","Code":"myCopy = {...MyObject, profile: { ...MyObject.profile, more: { ...MyObject.profile.more }}};","IsDeferred":false}]}