public static void copyTemplatePresentation(@NotNull Presentation sourcePresentation,
                                              @NotNull Presentation targetPresentation) {
    // Note: actions can update templatePresentation in constructor.
    // We apply stub properties only after that. It could be confusing.
    targetPresentation.copyUnsetTemplateProperties(sourcePresentation);
  }
public static void copyTemplatePresentation(@NotNull Presentation sourcePresentation,
                                              @NotNull Presentation targetPresentation)