Here’s a old Dutch speculaas mold (antieke speculaasplank) that my parents bought in Holland in 1960. Using it was tricky — definitely flour the mold first. Then use a knife or a wire (like a clay cutter) to horizontally trim the excess dough off. Then invert on a baking sheet. Ta da!
This little movie shows all the tricks (I should have watched it first):