class PluginBase(): def __init__(self): pass def copy(self): """ Subclasses that use state must implement this method and return a new instance of themselves. :return: """ return self