What is the meaning of the word "ironically"?

Definitions:

  1. contrary to plan or expectation copy to clipboard adverb
    • Ironically, I ended up losing money under my own plan. copy to clipboard
  2. in an ironic manner copy to clipboard adverb
    • We began to mimic each other ironically. copy to clipboard