my imac have a 580 (yes is decent just like the 780m was), not sure you can beat that with the thunderbolt 3 bandwidth and latency limitation.
Even with TB3 limitations any enthusiast or high end eGPU would blow iMac video cards out of the water. I don't think that's a secret, exactly.