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

***

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

# Function: cloneSourceSnapshot()

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

Defined in: [shared.ts:225](https://github.com/Ameyanagi/ruviz/blob/91f8e7b36952093ba0bf232fc1ad623212329596/packages/ruviz-web/src/shared.ts#L225)

## Type Parameters

### T

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

## Parameters

### source

`T`

## Returns

`T`
