{"ScriptPreparationCode":"var obj = {};\r\nvar objCount = 100;\r\n\r\nfor (let i = 0; i \u003C objCount; i\u002B\u002B) {\r\n obj[i] = [1, 2, 3];\r\n}\r\n\r\nfunction deepClone(source) {\r\n return Array.isArray(source)\r\n ? source.map((item) =\u003E deepClone(item))\r\n : source \u0026\u0026 typeof source === \u0022object\u0022\r\n ? Object.getOwnPropertyNames(source).reduce((o, prop) =\u003E {\r\n o[prop] = deepClone(source[prop]);\r\n return o;\r\n }, Object.create(Object.getPrototypeOf(source)))\r\n : source;\r\n}","TestCases":[{"Name":"DeepClone","Code":"var clone = deepClone(obj);","IsDeferred":false},{"Name":"JSON.stringify","Code":"var clone = JSON.parse(JSON.stringify(obj));","IsDeferred":false}]}