CREATE TABLE foo
(CIX_Key int NOT NULL, colxxx datatype...)
ON RemovableFilegroup
INSERT INTO foo
SELECT * FROM table
CREATE CLUSTERED INDEX cix_foo ON foo(CIX_KEY)
CREATE NONCLUSTERED INDEX nix_foo_1 ON foo(some_col)
ALTER DATABASE whatever
MODIFY FILEGROUP RemovableFilegroup DETACH
ALTER DATABASE anotherdb
MODIFY FILEGROUP RevovableFilegroup ATTACH
FILES(filedef),...
With this a loading of a table as rebuilding of its indexes could be done outside of the warehouse, and then attached to the warehouse, and with partition switching "added" to a table without the need of rebuiling any indexes.