if it walk through job_duplicate() then retry_avbl would defined, but if it direct call duplicate() in Jobs, retry_avbl will be undefined value.
my $new_job = $rsource->resultset->create(
            {   
                test => $self->test,
                settings => \@new_settings,
                priority => $args->{prio} || $self->priority,
                jobs_assets => [ map { { asset => { id => $_->asset_id } } } $self->jobs_assets->all() ],
                retry_avbl => $args->{retry_avbl},
            }   
        );