Not exactly. Take hardcase for example. His personality was a defect, I’m pretty sure they mentioned it. Some clones personalities could be something they developed over time or something like that. (I’m trying to make sense). Another way they could’ve gotten their personalities is from jango fett (different sides to his personality in different clones)