def METHOD_NAME(self):
    """Returns a copy of the provider.
    Returns:
        StorageProvider: A copy of the provider.
    """
    cls = self.__class__
    new_provider = cls.__new__(cls)
    new_provider.__setstate__(self.__getstate__())
    return new_provider