Replicate an ArrayList with special modifications to create shopping cart