'Replace the basic deepcopy function with a faster one.
It assumes that the elements in the :attr:`values` tuple are
immutable and the fitness does not contain any other object
than :attr:`values` and :attr:`weights`.'

def __deepcopy__(self, memo):

    copy_ = self.__class__()
    copy_.wvalues = self.wvalues
    return copy_
