Added convenience method to add items as a varargs array (#13067)

Change-Id: Iab49d0960946cec5e949f4f60bb2f79dce66dcc3