Reparent component without keeping world location

Is there a way to change the parent of a component in a way that the child keeps its relative location? When I drag and drop in the components hierarchy view then world (well, root component relative) location is kept.