A phrase used to cover up what could be perceived by others as a racist or uncultured comment. It is also used by listeners to diffuse tension when someone else says something questionable.
See also: not to be racist, no offense, it's interesting that
Doug: (name), the guy from (country), keeps showing up late to work. Seems like a lazy dude.
Keith: It's just the culture, I guess