Run OS X Yosemite inside OS X Yosemite
Both Parallels Desktop 10 and VMWare fusion support virtualising Yosemite. Both are better than Virtual Box.

In Parallels you can create a virtual machine with Yosemite immediately by using the recovery partition.