# ImmutableSortedSetCopier&lt;T&gt; Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.immutablesortedsetcopier-1/)

## DeepCopy(ImmutableSortedSet&lt;T&gt;, CopyContext) {#deepcopy-system-collections-immutable-immutablesortedset-t-orleans-serialization-5f9838ae}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.immutablesortedsetcopier-1/methods/deepcopy-system-collections-immutable-immutablesortedset-t-orleans-serialization-5f9838ae/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization/Codecs/ImmutableSortedSetCodec.cs#L75-L91)

```csharp
public ImmutableSortedSet<T> DeepCopy(ImmutableSortedSet<T> input, CopyContext context)
```

Creates a deep copy of the provided input.

### Parameters

- `input` (`ImmutableSortedSet<T>`): The input.
- `context` (`CopyContext`): The context.

### Returns

A copy of `input`.

## IsShallowCopyable {#isshallowcopyable-94d506f5}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.immutablesortedsetcopier-1/methods/isshallowcopyable-94d506f5/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization/Codecs/ImmutableSortedSetCodec.cs#L70)

```csharp
public bool IsShallowCopyable()
```

Returns true if the type is shallow-copyable.
