I get `error: use of moved value` if I don't use `clone`. Is there a way to avoid it?