identical_all function

Check whether all inputs are identical