Step 1 – Prepare Pans & Oven: Preheat to 175°C (350°F). Grease three 9-inch round pans, line with parchment, then grease parchment for perfect release.
Step 2 – Dry Ingredients: Sift self-rising flour, cinnamon, nutmeg, cloves, allspice, and baking soda. Set aside.
Step 3 – Wet Ingredients: In a mixer bowl, beat sugar, oil, and vanilla on medium. Add eggs one at a time, mixing well after each addition.
Step 4 – Create the Batter: On low speed, add dry ingredients in three additions just until combined. Fold in grated carrots, crushed pineapple with juice, and walnuts (if using).
Step 5 – Bake: Divide batter among pans and bake 35–40 minutes, or until a skewer comes out clean. Cool in pans 10 minutes, then invert to racks to cool completely.
Step 6 – Brown the Butter: Melt butter in a light-colored saucepan over medium heat. Cook, swirling, until amber with brown specks and nutty aroma. Immediately transfer to a heatproof bowl to stop cooking.
Step 7 – Chill the Brown Butter: Refrigerate until fully solid (about 1 hour). Do not use while liquid, or frosting will be thin.
Step 8 – Whip Frosting: Beat solid brown butter and cream cheese on high until fluffy and smooth. On low, add confectioners' sugar 1 cup at a time. Add salt and vanilla; whip 2–3 minutes more until airy.
Step 9 – Assemble: Place first cooled layer on a stand. Spread frosting, stack second layer and repeat. Top with third layer. Apply a thin crumb coat and chill 20 minutes, then finish with a smooth final coat. Garnish with extra toasted walnuts if desired.