clone cache object before change