MT#6693 Properly handle sub profile attributes.

Store selected attributes.
Let them be edited.
Correctly clone attributes.