[**ruviz**](../../README.md)

***

[ruviz](../../README.md) / [shared](../README.md) / cloneSourceSnapshot

# Function: cloneSourceSnapshot()

> **cloneSourceSnapshot**\<`T`\>(`source`): `T`

Defined in: [shared.ts:223](https://github.com/Ameyanagi/ruviz/blob/main/packages/ruviz-web/src/shared.ts#L223)

## Type Parameters

### T

`T` *extends* [`StaticSourceSnapshot`](../interfaces/StaticSourceSnapshot.md) \| [`ObservableSourceSnapshot`](../interfaces/ObservableSourceSnapshot.md) \| [`SignalSourceSnapshot`](../interfaces/SignalSourceSnapshot.md)

## Parameters

### source

`T`

## Returns

`T`
