Add #where support for MemoryScope.

@dkubb Exactly. On rebasing on top of 2-3-stable the commit that introduced 1.9 style in our branch and the one that restores 1.8 style will noop each other and the diff will be minimized. I'll exclude both when interactively rebasing.