Allow different sources for each window w/ dynamic keyboard layout for new windows

There are two options in Ubuntu Gnome regarding keyboard layouts in different windows:

-Use the same source for all windows

-Allow different sources for each window

Is it possible to use the second option so that changing my keyboard layout doesn't affect layouts in other windows, but set a dynamic default keyboard layout, so that each NEW window I open has the keyboard layout I used in the previous window, as opposed to each new window simply using a predefined default keyboard layout?

Thanks in advance!

Edit: There's such an option for Linux Mint


Solution 1:

While that feature is present with e.g. Unity or MATE, it seems to be missing in the GNOME desktop used by standard Ubuntu.