In the same pot over medium heat, combine the carrots, pineapple, sugar, lemon zest and juice, and the spices. Cook for 20 minutes or until the jam thickens. Let cool. Remove and compost the cinnamon stick. Transfer the jam into an airtight container. Let cool. Cover and refrigerate. The jam will keep for 2 weeks in the refrigerator.