Some years ago, some deep-sea researchers published in _Science_ an account (with pictures -- they had taken movies) of a sexual encounter between two octopuses. They were both male, and of different species. I doubt if it counts as flagellation, tho.