Combine the sugar and water in a saucepan; bring to a boil, and boil for 10 minutes. Stir in the lemon juice, mashed banana, and cloves. Reduce heat to low; simmer, stirring frequently, until the mixture thickens, about 45 minutes. Strain to remove cloves.
Divide the jam between the jars, screw on lids, and refrigerate.