You can use that same technique for lots of canned things in syrup. I’ve even seen it done with the syrup from canned yams and used to garnish a sweet potato pie. I feel like it was one of those things that was common around the great depression and kinda floated around in home kitchens ever since.