From the author of

Perfect Layers is useful because it enables Lightroom users who don’t own a copy of Photoshop to benefit from the use of layers, including basic masking and layer blending. It creates a “round-trip” workflow where you can start and end in Lightroom, resulting in a brand new image that combines the best elements of your selected originals.

Preparing Your Pictures

As with most Lightroom workflows, you’ll want to start out by carefully selecting your source images. For example, if you wanted to swap out the foreground or background of one picture for another, make sure they share not only a similar resolution and dimensions but also that they have similar lighting. From there, perform your typical raw edits in the Basic, Details, and Lens Correction panels for each image. The two shots I selected are shown in Figure
1, with Edit and Crop badges visible.

Figure 1 Doing a bit of careful selection and raw editing in Lightroom as a first step can produce a better result inside Perfect Layers.