Is there a saying in Portuguese similar to this one? "Great minds think alike"
For example, once I got lost in my own neighborhood. My friend said, "Sounds like something Einstein would do". I would respond, "Great minds think alike!".
Or let's say I show up at a small party and I surprise everyone by dying my hair pink, and someone else also dyed their hair but neither of us expected the other person to have dyed hair. When we both got to the party and saw each others hair we might say, "Oh you dyed your hair too?!?" "Yep! Great minds think alike!"