rust-index: make it possible to clone the struct referencing the C index...
rust-index: make it possible to clone the struct referencing the C index
If we are to hand over the C index object to other code, we need to be able to
create a new python reference to it.
Differential Revision:
https://phab.mercurial-scm.org/D7656