Cut the onions into slices, also the carrot and shallots and put into a saucepan with the butter. While heating over a moderate fire, add the thyme, parsley, bayleaf and cloves. When the onions are golden brown add the flour, stock and vinegar. Boil again, pass through a sieve and season with salt and pepper.