Extract HierarchicalClusteringModel from HierarchicalClustering.scala