Best app for keeping windows in place between displays?

Like many, I’ve been working from home from the last month or so. I find myself switching between:

  • using my laptop in clamshell mode and focusing on my external display
  • using the laptop and display side-by-side

Whenever I switch between the two setups, all my windows get messed up. Is there an app that can help with this?

P.S. I just got this Rain Design laptop stand and it’s really nice.

Have you looked at moom?