'Support function for `copy.deepcopy()`.'

def __deepcopy__(self, memo):

    return DBRef(deepcopy(self.__collection, memo), deepcopy(self.__id, memo), deepcopy(self.__database, memo), deepcopy(self.__kwargs, memo))
