allow indexing with reused nodes by cloning the node
Merge pull request #9 from Matt-Esch/indexing

allow indexing with reused nodes by cloning the node