Another idea is that you order your meal and one option is to have 3/5ths on the plate and 2/5ths packaged to takeaway. No awkward "can I have a doggy bag?" for a container of the scraps you favoured least.
Even though many desserts are made ahead of time, in Australia they're often very expensive ($15-18) and so something I almost never order.
Another bonus is it would be more practical to also have dessert after the main course. In practice I usually just end up ordering an appetizer as the main course at the cost of some awkwardness with the server.