Pregunta de entrevista de Spidergap

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