# deepish_copy

> **Function** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/utils/deepish_copy)

Deep copy a value with a compromise for uncopyable objects.

## Signature

```python
deepish_copy(
    val: T,
) -> T
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `val` | `T` | Yes | The value to be deep copied. |

## Returns

`T`

The deep copied value.

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/cf0366388873e33ef593235c1d0c7e561db79cfb/python/langsmith/utils.py#L675)