Create a deep clone of an object using JSON functionalities. Very efficient and quick, not a comprehensive copyier (can't copy functions, circular references)
const jsoncopy = ; const orig = top: nested: value: 1;const copy = ;objtopnestedvalue = 2; origtopnestedvalue // 2copytopnestedvalue // 1