arg_parser: replaced clone with take
Instead of cloning the user value each time, taking the value is
a better alternative because clone overhead will be eliminated.
@@ -432,7 +432,7 @@ impl<'a> Arguments<'a> {
.clone();
if argument.allow_multiple {
- match argument.user_value.clone() {
+ match argument.user_value.take() {
Some(Value::Multiple(mut v)) => {
v.push(val);
Value::Multiple(v)
