Even if I am reborn. Without the same memories, experiences, and thoughts, how can I be me?

Likely my experiences and memories make me me. If right now that got erased, no matter the same appearance or same body, I will never be me. Right?