I think this is probably good enough. I don't know how much we can gain if we are not sure how to deep copy T.