code: public ServerConfiguration copy() throws IOException {
          ReadableByteArrayOutputStream out = new ReadableByteArrayOutputStream();
          serialize(out);
          return new ServerConfigurationParser(out.toInputStream()).parse();
      }
docs: Make an exact copy of this ServerConfiguration.