Custom output parameters are replaced by GenericParameter on copy/paste

I have a “Bang” component that exposes object properties when the user clicks on a button. Depending on the input, I add or remove output parameters.

The output parameters have some extra double-clicking logic, so I use a custom param:

SuggestableExplodeParam: Param_GenericObject

The problem is that these custom params are replaced with the Param_GenericObject when I copy/paste a component. The new parameters keep the name/access etc, but the Type is not SuggestableExplodeParam anymore. How can it be possible?

All classes are public, the component implements IGH_VariableParameters.
Rhino 7

My bad, I forgot to add an empty constructor for my parameter