copies-rust: encapsulate internal sets on changes
The goal is to eventually stop creating the underlying set. So we need to encapsulate the call first.
Differential Revision: https://phab.mercurial-scm.org/D9306