SCT_ClusteringTool: Introduce a cache to avoid 're-creating' std::vectors but rather re-use their capacity