TIL making a deep copy is harder than at first it appears.