Hemiaminal formation is a key step in an asymmetric total synthesis of saxitoxin:
In this reaction step the alkene group is first oxidized to an intermediate acyloin by action of osmium(III) chloride, oxone (sacrificial catalyst) and sodium carbonate (base).