It made my eyes roll
I'm perfectly happy to accept that sometimes the Doctor's brain remembers people he sees on this travels and subconsciously incorporates elements into a new regeneration. That makes enough sense, it doesn't need further explanation.
I agree with this. And for this idea to warrant an ongoing plot thread, it had better be really, really good!