$collection->clone()
Returns a cloned instance of the collection
$collection->clone(): Kirby\Toolkit\Collection
Return type
This method does not modify the existing $collection
object but returns a new object with the changes applied. Learn more →