public object Clone() { StorageConfiguration sConfiguration = new StorageConfiguration(); sConfiguration.Collections = Collections != null ? (CollectionConfigurations)Collections.Clone() : null; sConfiguration.StorageProvider = StorageProvider != null ? (StorageProviderConfiguration)StorageProvider.Clone() : null; sConfiguration.CacheConfiguration = CacheConfiguration != null? (CachingConfiguration)CacheConfiguration.Clone(): null; return(sConfiguration); }