Prunes overlapping and nested clones.
When a large subtree is a clone, all its sub-subtrees will also match. We keep only the largest non-overlapping clone per file location.
Summary
Functions
Remove clones whose fragment locations are all contained within a larger clone's fragments.
Functions
@spec prune_nested([ExDNA.Detection.Clone.t()]) :: [ExDNA.Detection.Clone.t()]
Remove clones whose fragment locations are all contained within a larger clone's fragments.