Crate clonelicious

Source

Macrosยง

  • The clone! macro automatically clones the variables passed to it and immediately executes the closure.