# ValueTupleCopier&lt;T1, T2&gt; Methods

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

## DeepCopy((T1, T2), CopyContext) {#deepcopy-t1-t2-orleans-serialization-cloning-copycontext-027dc667}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.valuetuplecopier-2/methods/deepcopy-t1-t2-orleans-serialization-cloning-copycontext-027dc667/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization/Codecs/ValueTupleCodec.cs#L248-L250)

```csharp
public (T1, T2) ValueTupleCopier<T1, T2>.DeepCopy((T1, T2) input, CopyContext context)
```

Creates a deep copy of the provided input.

### Parameters

- `input` (`(T1, T2)`): The input.
- `context` (`CopyContext`): The context.

### Returns

A copy of `input`.

## IsShallowCopyable {#isshallowcopyable-9daef102}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.valuetuplecopier-2/methods/isshallowcopyable-9daef102/)

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

```csharp
public bool ValueTupleCopier<T1, IsShallowCopyable()
```

Returns true if the type is shallow-copyable.
