Add Cancel Button to a Custom Meta Box

I ended up using this:

<a class="clear_button hide-if-no-js button-cancel" title="clear" data-clear style="text-decoration:underline;">Clear</a>

It does the job. I was hoping for something more “WordPressy” but don’t see a metabox cancel function.