Bytesize fix for deepcopy unique_ptr