std: add a Clone impl for HashSet.
auto merge of #8439 : huonw/rust/hashset-clone, r=cmr

Closes #5581.