Generating clone trees