Automated clustering of metamodel repositories