$page->duplicate() Duplicates the page with the given slug and optionally copies all files kirby/src/Cms/PageActions.php#L712 $page->duplicate(string $slug = null, array $options = [ ]): Kirby\Cms\Page Parameters Name Type Default $slug string null $options array [ ] Return type Kirby\Cms\Page Parent class Kirby\Cms\Page