// It's highly possible that this is an issue for other context-list
// functions. Shouldn't be a problem for last(), and it shouldn't be
// a problem for current().
try
{
cnl = cnl.cloneWithReset();
}
catch(CloneNotSupportedException cnse)
{
throw new org.apache.xml.utils.WrappedRuntimeException(cnse);
}