Preheat your oven to 350°F (175°C). Lightly grease your 9×13-inch baking dish with butter or non-stick spray.
In a mixing bowl, toss the sliced bananas with the brown sugar, cinnamon, and rum (or rum extract) until the fruit is thoroughly coated.
Spread the banana mixture evenly across the bottom of the prepared baking dish. Drizzle the heavy cream over the fruit.
Sprinkle the dry yellow cake mix evenly over the banana layer. Do not pack the mix down; leave it loose for a better texture.
Arrange the thin slices of butter across the top of the cake mix, ensuring as much of the dry surface as possible is covered.
If using nuts, sprinkle them evenly over the top of the butter slices.
Bake for 40 to 45 minutes, or until the top is golden brown and the fruit juices are bubbling up around the edges.
Remove from the oven and let the dish stand for 10 minutes before serving to allow the sauce to thicken slightly.