Preheat your oven to 350°F (175°C) and grease a 9x13 inch baking dish with butter or cooking spray.
In a large mixing bowl, whisk together the eggs, whole milk, heavy cream, granulated sugar, vanilla extract, ground cinnamon, and salt until well combined.
Add the cubed brioche bread to the egg mixture, gently folding it in until all the bread is soaked and coated.
If using, sprinkle the chopped pecans evenly over the bottom of the greased baking dish. Pour the soaked bread mixture on top, spreading it out evenly.
Drizzle the maple syrup over the bread mixture ensuring it is distributed throughout.
Cover the baking dish with aluminum foil and let it sit for about 20 minutes to allow the bread to absorb the liquid.
Bake in the preheated oven for 30 minutes covered, then remove the foil and bake for an additional 15-20 minutes, or until the top is golden brown and the center is set.
Remove from the oven and let it cool for a few minutes before serving. Optionally, dust with powdered sugar before serving.