public static <T> void cloneUsingXmlSerialization(@NotNull T oldItem, @NotNull T newItem) {
    Element serialized = com.intellij.configurationStore.XmlSerializer.serialize(oldItem);
    if (serialized != null) {
      XmlSerializer.deserializeInto(newItem, serialized);
    }
  }
public static <T> void cloneUsingXmlSerialization(@NotNull T oldItem, @NotNull T newItem)