make factory cloneable