@Override
  public boolean add(final V key) {
    final boolean added = delegate.add(key);
    if (added) {
      undoLog.add(UndoEntry.add(key));
    }
    return added;
  }
Create an UndoSet backed by another Set instance.

@param delegate The Set instance to use for backing storage
@param <V> The type of the collection.
@return an unduable set
evm/src/main/java/org/hyperledger/besu/collections/undo/UndoSet.java