How to not import/duplicate media in FCPX?
For FCPX 10.1 and later:

Open preferences
Select the import tab
Choose to either leave Files in Place or Copy to Storage Library Location.

To set the Storage Library Location:

Select the library. 
Open the inspector.
Select Modify Settings in the inspector to choose where your generated files go.