Add clear() for fields and field group (#14755)

Change-Id: If9372ccceeaacd0826f8b1ed07f64af12bf47fc6