There is already a macro that will duplicate a track, and then delete the data. If you go into “File->Key Preferences”, then click the “Show Macros” button, a list will appear at the bottom of the dialog window. In that list of Macros should be “Duplicate Selected Tracks without Data”. Assign it to a shortcut key. It works, I tested it.
The macro performs the following:
Project - Duplicate Tracks
Automation - Delete Automation of Selected Tracks
Track Versions - Delete Inactive Versions of Selected Tracks
Edit - Select All on Tracks
Edit - Delete
Also, if you are using the shortcut key “CTRL+SHIFT+D”, then you are only creating a new “track version” by copying the current track. If you go to the “TrackVersions” tab, you will see them.