Copy ctor.
Will uncache tensors on source object and cache tensors again as soon as possible both here and on source object.