[API] Let the user decide whether to copy or move attributes.