Inserts columns at the specified index and inherits their format from the reference column.
Method generates the eInvalidInput exception when the number of rows or columns is zero.