The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
package Catmandu::Fix::clone;

use Catmandu::Sane;
use Moo;
use Clone qw(clone);

sub fix {
    clone($_[1]);
}

=head1 NAME

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

=head1 SYNOPSIS

   # Create a clone of the data object
   clone();

   # Now do all the changes on the clone
   add_field('foo','2');

=head1 SEE ALSO

L<Catmandu::Fix>

=cut

1;