@ SuppressWarnings ( "unchecked" ) protected static < T > Map < String , T > cloneData ( Map < String , T > data ) { return SerializationUtils . fromByteArray ( SerializationUtils . toByteArray ( data ) , Map . class ) ; }
Deep - clone data .