deepClone default values to avoid strange side effects on the models.
fix for empty class sets
Added investigation comment
0.4.17