A tree-based clone detection tool