Pergunta de entrevista da empresa Grid Dynamics

How would you perform a deep copy of an object?