'''
Author: anonymous
Date: 2023-04-23 16:27:37
Description: 

Copyright (c) 2023 by anonymous, All Rights Reserved. 
'''

import pickle


def deepcopy(data):
    # use pickle to deepcopy, it's faster than copy.deepcopy
    data_copied = pickle.loads(pickle.dumps(data, protocol=pickle.HIGHEST_PROTOCOL))
    assert type(data) == type(data_copied)
    return data_copied