Preheat oven to 350°F. Coat 2 (9-inch) round cake pans with cooking spray; line bottoms of pans with parchment paper and coat paper with cooking spray.
To prepare cake, whisk together flour, ginger, baking powder, cinnamon, salt, nutmeg, baking soda, and cloves in a medium bowl. Place softened butter and granulated sugar in a large bowl; beat with an electric mixer at medium speed until light and fluffy, 2 to 3 minutes. Add eggs, 1 at a time, beating well after each addition. Beat in molasses. Beating at low speed, add flour mixture and milk alternately to butter mixture, beginning and ending with flour mixture; beat until a smooth batter forms.
Divide batter evenly between prepared pans, spreading into an even layer. Bake at 350°F until a wooden pick inserted in center comes out clean or with a few moist crumbs clinging, 25 to 30 minutes. Remove pans from oven; cool cake layers in pans for 5 minutes. Run a thin knife around the outside edge of each pan; invert cake layers onto a wire rack and cool completely, about 45 minutes.
When cake is cool, prepare frosting. Melt butter in a small saucepan over medium heat. Stir in brown sugar and milk; bring to a boil. Cook, whisking frequently, until sugar dissolves and mixture is well incorporated with no butter separation. Pour mixture into a large bowl; stir in vanilla and salt. Beating with a mixer at low speed, gradually add powdered sugar, beating until smooth.
Place 1 cake layer on a cake stand or platter; spread 1 cup frosting almost to edges. Refrigerate for 5 minutes to set the frosting. Arrange the other cake layer on top. Stir remaining frosting, or whisk if it has started to set. Pour remaining frosting on top cake layer, spreading just to the edges. Allow frosting to set before cutting, 10 to 20 minutes.
