def reset(self):
        """
        Reset this objects state to the state that it was created with.
        """
        memento = self.memento
        self.rollback(deepcopy(memento))
        self.memento = memento

        Reset this objects state to the state that it was created with.
        
pypattyrn/creational/pool.py