JSON.parse(JSON.stringify(obj)) - Codesandbox

JSON.parse(JSON.stringify(obj)) - Codesandbox

More to explore

Based on this image's title: “JSON.parse(JSON.stringify(obj)) - Codesandbox