# FSharpMapCopier&lt;TKey, TValue&gt; Methods

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

## DeepCopy(FSharpMap&lt;TKey, TValue&gt;, CopyContext) {#deepcopy-microsoft-fsharp-collections-fsharpmap-tkey-tvalue-orleans-serializatio-d766b9ed}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.serialization.fsharp/orleans.serialization.fsharpmapcopier-2/methods/deepcopy-microsoft-fsharp-collections-fsharpmap-tkey-tvalue-orleans-serializatio-d766b9ed/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization.FSharp/FSharpCodecs.cs#L1065-L1072)

```csharp
public FSharpMap<TKey, TValue> FSharpMapCopier<TKey, DeepCopy(FSharpMap<TKey, TValue> input, CopyContext context)
```

Creates a deep copy of the provided input.

### Parameters

- `input` (`FSharpMap<TKey, TValue>`): The input.
- `context` (`CopyContext`): The context.

### Returns

A copy of `input`.
