change clone to dup and removed save(false) deprecations