Changed the way how we do a reset for IE

Added clone logic just in case a value reset is not working (like IE)