There must be informed consent, no reasonable alternatives (which, in cases we deem terminal, is often the case), and some evidence pointing to the treatment possibly being helpful. It's an excellent ethical program that gives patients a choice and advances science.