clear memory in MetaCluster.h