ENH: Add arbitrary clusterer in the global clustering step and test