Heat oil in a pot over medium heat. Saute the onion until for 5 to 8 minutes until translucent. Add in the garlic and stir together. Add the tomato purée, brown sugar, vinegar, tomato paste, salt, mustard, cloves, allspice, red pepper flakes and cayenne pepper and stir to combine. Increase heat to high and bring to a boil, then reduce heat to low and simmer, stirring occasionally, for 45 to 60 minutes until it is thick like ketchup.