Duplicating endpoint template drops basefile changes

I have made some changes to the basefile of a template I created but when I duplicate the template the new basefile has only the default entries. Is this expected behavior and is there a way to keep the changes in the duplicate basefile?

My FreePBX version is 12.0.27 and the phones are Cisco SPA50XG.