Numpy repeat for 2d array,"res = np.zeros((arr.shape[0], m), arr.dtype)"