How to make a customize component"old"

sometime ,when we open a gh file,we can see some compnent marked"old".
these days,i am updating myself customized component but i am perfer to keep the old one when making a new same name how can i do that?perfer in C#
Thank you!

thank you,Micheal,it works!

Also, don’t forget to change the GUID of the updated component.
I use this GUID generator:

thank you Michael ,i have done the same!