Save and restore the minimized state of windows when saving and restoring window layouts

I'm using the save/restore window layout for a browser a lot, but it does not seem to remember the minimized / visible status of the windows. Would it be possible to add that as an option?

Example:
I have several browser windows open, and some I like to keep minimized for different work setups. But if I save a layout with minimized windows, when I restore the layout, they don't get minimized, I always have to minimize them manually.