Duplicate of a component

Is there a way I can duplicate a component & its variables so that I can create a separate component and not an instance. Eg: I create a normal dropdown component but then I want to create a dropdown for time, calendar etc.

In some files when I duplicate a main component its creating a separate main component but in some files its creating instances.

Hi there ! If you are still looking for a solution, i just created a plugin to duplicate a main component without loosing the properties : https://www.figma.com/community/plugin/1327218395978172272/duplicate-main-component

Contributions to improve Duplicate Main Component are welcome !