spawn({ let a = a.clone(); let b = &b; move || { // do something with the a you cloned and the b you borrowed } })