Identity is an ambiguous notion. (1) The Morning Star and the Evening Star are identical in the sense that they are one and the same object, namely the planet Venus. In contrast (2) two items coming off an assembly line can be identical in the sense that they are precisely similar.
I should say that the freak accident person is not identical in sense 1 to the clone to which 'memory' is transferred . For one thing something is true of the person which is not true of the clone, namely that they were involved in a freak accident. For another, memories cannot strictly speaking be transferred from the person, via the cloud, to the clone. One can only remember things, events, property instances, states of affairs or acts that one experienced. (As Tyler Burge put it : 'To remember that Napoleon was defeated at Waterloo, one can have acquired the information in many ways. To remember Napoleon's defeat at Waterloo, one must have been there.'*) The clone remembers nothing that the person remembered because the clone experienced none of the relevant things, events, &c. The clone has only memory-beliefs that match one-to-one what the person remembered.
*Tyler Burge, 'Memory and Persons', The Philosophical Review, Vol. 112, No. 3 (Jul., 2003), pp. 289-337 : 289.)
The person and the clone are not identical in sense (2) because they are not precisely similar. For one thing the person is dead (with no memories); the clone is very much alive (replete with memory-beliefs).