code: public void rewind() {
      synchronized(used) {
        for(ParameterPair pair : used) {
          current.addParameter(pair);
        }
        used.clear();
      }
    }
docs: Rewind the configuration to the initial situation