Fixed cloning models when calling fromJson()