fix ROOT-5241 by implementing the option 'noclear'.