Use dup instead of deep_dup