add array clear operation