This is exactly what I was hoping for, thank you.
And, in case it isn't obvious to anyone, you can put the reset button above the array question by changing:
$('table.subquestion-list', thisQuestion).after('<input type="button" style="float:right;" value="Reset Question" class="resetQuestionButton" />');
to
$('table.subquestion-list', thisQuestion).before('<input type="button" style="float:right;" value="Reset Question" class="resetQuestionButton" />');
And, in case it isn't obvious to anyone, you can put the reset button above the array question by changing:
$('table.subquestion-list', thisQuestion).after('<input type="button" style="float:right;" value="Reset Question" class="resetQuestionButton" />');
to
$('table.subquestion-list', thisQuestion).before('<input type="button" style="float:right;" value="Reset Question" class="resetQuestionButton" />');