make a copy of the storage structure instead of referncing the one passed as argument to shardcache_create()
updated to conform to last changes in the storage api