# copy method

MutablePropertyValues copy()

Create a deep copy of another PropertyValues instance.

`original`: The PropertyValues instance to copy

Example:

    final original = MutablePropertyValues()
      ..add('timeout', 30)
      ..add('retries', 3);

    final copy = MutablePropertyValues.copy(original);
    copy.add('maxConnections', 100);
    // original remains unchanged

## Implementation

    MutablePropertyValues copy() {
      final copy = MutablePropertyValues();
      copy._values.addAll(
        _values.map((pv) => pv.copy()),
      );

      copy._processedProperties.addAll(_processedProperties);
      copy._converted = _converted;

      return copy;
    }