public RepositoryLibraryProperties cloneAndChange(Consumer<RepositoryLibraryProperties> transform) {
    RepositoryLibraryProperties newProperties = new RepositoryLibraryProperties(myDescriptor);
    transform.accept(newProperties);
    return newProperties;
  }
public RepositoryLibraryProperties cloneAndChange(Consumer<RepositoryLibraryProperties> transform)