This is not an answer but a long comment @Gerald
er, no. That is not what I want. All that does is make a duplicate of the template style settings in the template_styles table in the database. So you can have more than one set of style settings for a given template (default colours etc) for different parts of your site.
What I am after is the old J3 facility to create a copy of the actual template files and install it as a fresh template that you can then customise. It was quite handy for creating a copy of a template to modify that wouldn't get overwritten by updates.
The only way to do it now is manually by zipping up the template folder and the template's media folder and copying them to new folders with a new name and manually editing all of the references to the old template name so that the namespacing etc all works and doesn't get confused. Not so simple as it was in J3 which is probably why they couldn't be arsed to include it in J5.