Fission Labs interview question

Deep clone javascript object along with functions