RunConfiguration (@NlsSafe @Nullable String name, @NotNull RunConfiguration template) { RunConfiguration newConfiguration = template.clone(); newConfiguration.setName(name); return newConfiguration; }