Clone date range array before using it