If you already have music stored on your iOS device, you'll be asked if you want to keep it. If you choose to
Keep Music, the music is added to your iCloud Music Library. If you choose Delete and Replace, the music on your device is removed and replaced with the content in your iCloud Music Library.