added copy attribute to immutable types with mutable counterpart