For most of history, preserving someone’s memories after death meant relying on photographs, letters, stories and the recollections of other people. Technology is now pushing that idea much further.