mutableCopy replaced with deepMutableCopy