# FSharpMapCopier&lt;TKey, TValue&gt;.DeepCopy(FSharpMap&lt;TKey, TValue&gt;, CopyContext)

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

[Source](https://github.com/dotnet/orleans/blob/1644940b035c7bdf215a4fd7135757c06bcfe9ec/src/Orleans.Serialization.FSharp/FSharpCodecs.cs#L1372-L1382)

```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`, or `null` if `input` is `null`.
