Override indent function of a simpleMode?

How can I define or override the indent function of a mode defined using defineSimpleMode?

You can put an indent method in the meta property of the mode – anything you put there will be copied onto the mode object.