Sì, è possibile, vedi qui
N.B.: quella proposta nell'esempio è una copia shallow e non deep. Guarda qui e qui per maggiori informazioni.