8 my $schema = DBICTest->init_schema();
11 my $clone = $schema->clone;
12 cmp_ok ($clone->storage, 'eq', $schema->storage, 'Storage copied into new schema (not a new instance)');
16 is $schema->custom_attr, undef;
17 my $clone = $schema->clone(custom_attr => 'moo');
18 is $clone->custom_attr, 'moo', 'cloning can change existing attrs';
22 my $clone = $schema->clone({ custom_attr => 'moo' });
23 is $clone->custom_attr, 'moo', 'cloning can change existing attrs';