How to merge the reference into master?
Please follow the below steps to achieve this.
1. Open Configuration Variable dialog and search for PS_DISABLE_REFERENCEMERGE.
2. Double on the variable to edit and change the value from 1 to 0 to enable the option.
With this you can now merge the reference into master.
NOTE: The grouping of the objects get lost by using this Merge Into Master option.