{"ScriptPreparationCode":"var vertices = [\r\n [1, 0, 0, 0],\r\n [0, 1, 0, 0],\r\n [0, 0, 1, 0],\r\n [0, 0, 0, 1],\r\n ]\r\n\r\nvar myCopy = null;","TestCases":[{"Name":"JSON.stringify","Code":"myCopy = JSON.parse(JSON.stringify(vertices));","IsDeferred":false},{"Name":"slice","Code":"myCopy = vertices.map(row =\u003E row.slice());","IsDeferred":false},{"Name":"Array from","Code":"myCopy = vertices.map(row =\u003E Array.from(row))","IsDeferred":false},{"Name":"Spread","Code":"myCopy = vertices.map(row =\u003E [...row])","IsDeferred":false},{"Name":"structuredClone","Code":"myCopy = structuredClone(vertices)","IsDeferred":false}]}