throw new CloneNotSupportedException("Cannot clone an initialized cache.");
}
Cache copy = (Cache) super.clone();
// create new copies of the statistics
copy.liveCacheStatisticsData = new LiveCacheStatisticsWrapper(copy);
copy.sampledCacheStatistics = new SampledCacheStatisticsWrapper();
copy.configuration = configuration.clone();
copy.guid = createGuid();
copy.cacheStatus = new CacheStatus();
copy.cacheStatus.changeState(Status.STATUS_UNINITIALISED);