Open up your ice cream sandwich and cut a small piece of the cut edges to resemble a gravestone.
Get your cookie icing pen and write RIP and any optional drawings or other writing you'd like!
Place ice cream sandwich on a plate and put in the freezer for the icing to harden for about 10 minutes or so.
Once the icing has hardened, either re-wrap the ice cream sandwich or enjoy immediately!