Allelomimesis as universal clustering mechanism for complex adaptive systems