# Sandbox.Doo.Methods.GameObjectClone

```csharp
static GameObject GameObjectClone(GameObject gameObject, bool enabled = True, bool networked = True)
```

Clones a GameObject, optionally spawning it on the network.

### Parameters

- `gameObject` (`GameObject`)
- `enabled` (`bool`), default `True`
- `networked` (`bool`), default `True`

### Returns

`GameObject`

Declared in [Sandbox.Doo.Methods](/api/Sandbox.Doo.Methods).
Assembly: `Sandbox.Engine`.
