Update in-line documentation of StatefulArray, refs #16632.