Preheat your oven to 350°F (175°C).
In a large saucepan, combine the milk, heavy cream, sugar, vanilla extract, ground cinnamon, and ground cardamom.
Heat over medium heat, stirring constantly until the sugar is dissolved and the mixture is warmed through.
In a large baking dish, arrange the broken puff pastry or croissant pieces.
Sprinkle the raisins, chopped walnuts or almonds, and shredded coconut over the pastry pieces.
Pour the warm milk mixture evenly over the pastry and nuts.
Drizzle the melted butter over the top.
Bake in the preheated oven for 30-35 minutes, or until the top is golden brown and the mixture is bubbling.
Remove from the oven and let it cool for a few minutes before serving.
Enjoy your meal!