Frage im Vorstellungsgespräch bei Spidergap

Coding test asked to write a method to clone a JSON object.