Add .clearUndefined() method