Canning them in a jam like this is one of my favorite ways to preserve sweet onions when they're in season. You can also dice and freeze them to use in sauces, soups and cooked dishes.