If you want to get technical, jellyfish are in the medusa phase (a free-swimming structure) while anemones are in the polyp phase (an attaching structure). The layer of mucus on a clownfish that protects them from sea anemones could be what protected Marlin in the movie.