Deep copy by hand