https://pharo.manuscript.com/f/cases/22065/add-a-factory-method-that-includes-classInstVarNames-for-stateful-traits
https://pharo.manuscript.com/f/cases/22065/add-a-factory-method-that-includes-classInstVarNames-for-stateful-traits

fixes issue #22065
estebanlm/pharo,estebanlm/pharo,estebanlm/pharo