Create a Template from the Current Context
The Save as Template action provides a way to create a new template from the current context.
A newly created product, library, program, or project template is saved in the organization context that is a parent of the current context and appears in the Templates table of that context when the table view is set for that context template type.