Removed references to cloneHead

* To bring the fix of #7432 from 5.1 some lines of #7387 enhancement came
  together, which is an enhancement using cloned thead instead of colgroup.
* Removed references to undefined cloneHead function.

Fixed #8