Pergunta de entrevista da empresa Globant

How can we do the Deep copy of an object which having nested objects in an Object?