---
name: "Catmandu::Fix::clone"
section: "3pm"
platform: "linux"
package: "libcatmandu-perl"
version: "1.2024-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Catmandu::Fix::clone"
---

# Catmandu::Fix::clone(3pm)

create a clone of the data object

## NAME

Catmandu::Fix::clone - create a clone of the data object

## SYNOPSIS

```
   # Create a clone of the data object
   clone()
   # Now do all the changes on the clone
   add_field(foo, 2)
```

## SEE ALSO

Catmandu::Fix
