Bring vinegar to a boil in a large nonstick pot over medium-high heat. Add sugar; stir until dissolved. Add allspice and next 4 ingredients. Return to a boil; cook 15 minutes. Add tomato, return to a boil, and cook 15 minutes more. Remove bay leaves. Refrigerate in an airtight container up to several weeks.