# 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-python/blob/e9d3961c7165d87b6312f379f3a4a477aebb1f97/src/langsmith/utils.py#L637)