Copy as HTML adds unwanted id to H2

When I go Edit > Copy as HTML, an ID attribute is included with h2 tags, even though the id doesn’t appear in the markdown at all. E.g. if I have

## Holiday Gift Cards

then Copy as HTML will give me

<h2 id="holidaygiftcards">Holiday Gift Cards</h2>

Is there a way to turn this behavior off?