CAKE LAYERS: Preheat oven to 350 degrees. Prepare 2 9” inch round cake pans by spraying with nonstick baking spray then lining each pan with parchment paper then lastly spraying the top of the parchment paper.
In a large bowl, add flour, sugar, cinnamon, baking soda, and salt then whisk together until combined.
Next whisk in eggs, oil, vanilla, pineapple with juice, mashed bananas, and pecans if using until completely combined.
Combine the wet and dry ingredients. The final batter will be thick.
Evenly divide the batter into prepared cake pans and bake for 30-40 minutes or until a toothpick inserted into the center comes out clean.
After cooling for 10-15 minutes, remove the cakes and allow them to cool to room temperature before frosting.
CREAM CHEESE FROSTING: Add the softened butter and cream cheese to the bowl and beat on high speed until it begins to thicken and fluff.
Next, slow down the mixer and carefully add in the confectioner's sugar. Once all sugar has been incorporated, turn the mixer back to high to continue whipping
Add in pineapple juice and vanilla and continue whipping until it is smooth, light, and a fluffy frosting
ASSEMBLE THE CAKE: Divide each layer of the cake into two layers making a total of four layers of cake (if desired or you can leave it at two layers).
Add frosting between layers then frost the entire cake with the remaining frosting. Garnish with additional pecans and coconut flakes if desired.
Serve at room temperature.