Harness Interview Question

I was asked to whiteboard a deep cloning algorithm