Should empty errors array when calling clear.